using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Fodee.BusinessComponent;

namespace FodeeAdmin.SystemSettings
{
    public partial class test : BaseSystemSettingsForm
    {
        public test()
        {
            InitializeComponent();
        }
        private OrderBC bc = new OrderBC();
        private void test_Load(object sender, EventArgs e)
        {
            FodeeDS = bc.GetOrderView(1);
            if (FodeeDS!=null && FodeeDS.v_Order.Count > 0)
            {
                this.lbMember.Text = FodeeDS.v_Order[0].MemberName;
                this.lbCustomerCount.Text = FodeeDS.v_Order[0].OrderCustomerCount.ToString();
                this.lbStaff.Text = FodeeDS.v_Order[0].StaffName;
                this.lbTime.Text = FodeeDS.v_Order[0].CreatedTime.ToString();
                this.lbRemarks.Text = FodeeDS.v_Order[0].OrderRemarks;
            }
        }
    }
}